package cn.zzuisa.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import cn.zzuisa.entity.Invitation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author frank
 * @since 2019-05-07
 */
public interface InvitationMapper extends BaseMapper<Invitation> {

    IPage<Map<String, Object>> pageByEntity(IPage<Map<String, Object>> page,@Param("u") Invitation invitation);

    Map<String, Object> showInvitationById(@Param("id") Long id);
}
